package com.itheima.thisdemo;

public class Test1 {

    public static void main(String[] args) {

        /*Teacher t = new Teacher();
        t.print();
        System.out.println(t);*/

        Teacher t = new Teacher();
        t.name = "张三";
        t.printHobby1("打篮球");
        t.printHobby2("打篮球");
        t.printHobby3("打篮球");

    }
}
